def spam():
    eggs = 'spam local'  #eggs No.1
    print(eggs)

def bacon():
    eggs = 'bacon local'  #eggs No.2
    print(eggs)
    spam()
    print(eggs)

eggs = 'global'  #eggs No.3
bacon()
print(eggs)
